package cn.jiyun.service;

import cn.jiyun.entity.PageResult;
import cn.jiyun.entity.QueryPageBean;
import cn.jiyun.pojo.Role;
import cn.jiyun.pojo.Teacher;
import cn.jiyun.pojo.User;

import java.util.List;

public interface TeacherService {
    PageResult findPage(QueryPageBean queryPageBean);

    void add(Teacher teacher);

    void edit(Teacher teacher);

    void delete(Integer id);

    List<Teacher> findAll();

    User findByUserName(String username);

    List<Role> findByUid(Integer id);
}
